* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-overflow-scrolling: touch;
    font-family: 'Saira Semi Condensed', sans-serif;
}

body {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42857143;
    color: #222;
    background-color: #fff;
}
@media (max-width: 600px) {
    body {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 1.2rem;
    }
}

h1,
h2,
h3 {
    font-weight: 600;
}

h2 {
    font-size: 4em;
    color: #444;
}

h2:first-letter {
    color: rgb(26, 182, 255);
}

h2:after {
    display: block;
    content: "";
    width: 60px;
    height: 5px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, .12);
}

h3 {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0 0 .8em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
}

button,
input {
    line-height: inherit;
}

section {
    padding: 0;
    margin: 0;
}

/* --
       forms
               -- */

input:not([type]),
input[type=text],
input[type=email],
input[type=password] {
    margin: 0;
    outline: 0;
    width: 100%;
    tap-highlight-color: rgba(255, 255, 255, 0);
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem 0;
    line-height: 1.32857143;
    background: #FFF;
    border: none;
    border-bottom: 1px solid rgba(34, 36, 38, .15);
    color: rgba(0, 0, 0, .87);
    -webkit-box-shadow: 0 0 0 0 transparent inset;
    box-shadow: 0 0 0 0 transparent inset;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    border-radius: 0;
}

.labelin {
    position: relative;
    padding-top: 1em;
}

label {
    position: relative;
    display: block;
    padding-top: 20px;
}

label .label {
    position: absolute;
    top: 30px;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-size: 1rem;
}

label input:focus+.label,
label input:valid+.label {
    top: 4px;
    font-size: .86rem;
}

label input:focus+.label {
    color: #26a69a;
}

label input.invalid {
    border-color: #f93671;
}

label input.valid {
    border-color: #4CAF50;
}

label input:focus {
    border-color: #26a69a;
}

form p {
    margin: 0;
}


/* --
       button
               -- */

.btn {
    outline: 0;
    margin: 0 .25em .25em;
    position: relative;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 0;
    font-size: .9rem;
    font-weight: 400;
    padding: .72em 1.2em;
    font-family: inherit;
    line-height: 1.32857143;
    border-radius: .2em;
    background: #fff;
    color: inherit;
    -webkit-transition: .4s ease-out;
    transition: .4s ease-out;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.btn.primary {
    background: #333;
    color: #fff;
    text-shadow: none;
}


/* --
       layout
               -- */

.container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 15px;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1300px;
    }
}


.align.center {
    text-align: center;
}


/* --
       contents
               -- */

.features {
    padding: 4rem 0;
}

.features p {
    line-height: 1.2;
    color: rgba(0, 0, 0, .5);
}

.demo {
    margin: 3rem 0;
}

.demo ul {
    list-style-type: none;
    padding: 0;
}

.demo li {
    display: inline-block;
}

.demo .btn {
    color: currentColor;
    border-radius: 2em;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, .7);
    border: #ddd 1px solid;
}

.demo .btn:hover {
    color: #fff;
    background-color: #333;
    border-color: #333;
}

.demo .btn.active {
    color: #fff;
    background-color: rgb(26, 182, 255);
    border-color: rgb(26, 182, 255);
}

.demo small {
    font-size: .7em;
}
.demo-gallery {
    cursor: pointer;
}


#customize {
    color: #555;
    background-color: rgba(220, 220, 220, .93);
}

#customize p {
    color: #888;
}

#footer {
    background-color: rgba(0, 0, 0, .89);
    color: #fff;
    margin: 0;
    padding: 2em 0;
}

/* --
       modalite
               -- */
#nested {
    text-align: center;
}
#nested .dialog {
}
#nested .dialog .content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom 0;
    margin-top: -40px;
    padding: 0;
}
#sidebar .dialog {
    width: 300px;
    right: auto;
    background-color: rgba(26, 182, 255, .92);
    color: #fff;
    opacity: 1;
}

#sidebar .content {
    padding: 1em 0;
}

#sidebar ul {
    padding: 0;
    list-style: none;
}

#sidebar li a {
    display: block;
    padding: .6em 1.2em;
}

#sidebar li a:hover {
    background-color: rgba(0, 0, 0, .12)
}

#login>.dialog.error {
    -webkit-animation: shake .4s linear;
    animation: shake .4s linear;
}

#scroll {
    height: 300px;
}
#scroller * {
    text-align: center;
}


#modalCss.backdrop {
    background-color: rgba(217, 26, 64, .85);
}

#modalCss>.dialog {
    border-radius: .4em;
    text-align: center;
}

#modalCss .content p {
    margin: .8em 0;
}

#modalCss footer {
    padding: 0;
}

#modalCss footer button {
    width: 45%;
    float: left;
    margin: 0;
    border-radius: 0 0 0 .4em;
    background-color: #ff7878;
    color: #fff;
}

#modalCss footer button[data-modal-btn="action"] {
    width: 55%;
    background-color: #5675c7;
    border-radius: 0 0 .4em 0;
}



/* --
       icon
               -- */

.icon.arrow {
    color: #000;
    position: relative;
    top: 1em;
    margin: 5px auto 0;
    width: 2px;
    height: 18px;
    background-color: currentColor;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
    opacity: .6;
}

.icon.arrow:before {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}


/* --
       animation
               -- */

@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -ms-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -ms-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-webkit-keyframes shake {
    0% {
        -webkit-transform: translate(20px);
    }
    20% {
        -webkit-transform: translate(-20px);
    }
    40% {
        -webkit-transform: translate(10px);
    }
    60% {
        -webkit-transform: translate(-10px);
    }
    80% {
        -webkit-transform: translate(4px);
    }
    100% {
        -webkit-transform: translate(0px);
    }
}

@keyframes shake {
    0% {
        -ms-transform: translate(20px);
        transform: translate(20px);
    }
    20% {
        -ms-transform: translate(-20px);
        transform: translate(-20px);
    }
    40% {
        -ms-transform: translate(10px);
        transform: translate(10px);
    }
    60% {
        -ms-transform: translate(-10px);
        transform: translate(-10px);
    }
    80% {
        -ms-transform: translate(4px);
        transform: translate(4px);
    }
    100% {
        -ms-transform: translate(0px);
        transform: translate(0px);
    }
}
